
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../global/css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../../../global/css/swiper.min.css" />
    <link rel="stylesheet" type="text/css" href="./frm.css" />
</head>
<body>
    <div class="infoModal aui-hide" tapmode id="modal">
        <div class="modal-body">
            <span class="aui-iconfont aui-icon-close" id="close"></span>
            <div tapmode id="modalBody">
                <div class="modal-title">排行榜规则</div>
                <div class="rules">

                </div>
            </div>

        </div>
    </div>
    <div class="aui-content">
        <div class="aui-row border_b">
            <div class="aui-col-xs-6" ><label class="label active" data-type="userrecommond" tapmode onclick="reqData(this)">点赞榜</label></div>
            <div class="aui-col-xs-6" ><label class="label" data-type="usercomment" tapmode onclick="reqData(this)">评论榜</label></div>
            <!-- <div class="aui-col-xs-6"><label>金币榜</label></div> -->
        </div>
    </div>
    <div id="firstThree">
        <div class="aui-content top30 margin_b" id="test">
            <div class="aui-row">
                <div class="aui-col-xs-4 padTop2">
                    <div class="firstThree">
                        <img src="./../../../global/image/def-avatar.png" alt="">
                        <div class="nickName"></div>
                        <div><label class="icon"></label><span></span></div>
                        <div class="crown crown0"></div>
                    </div>
                </div>
                <div class="aui-col-xs-4 padTop2">
                    <div class="firstThree">
                        <img src="./../../../global/image/def-avatar.png" alt="">
                        <div class="nickName"></div>
                        <div><label class="icon"></label><span></span></div>
                        <div class="crown crown1"></div>
                    </div>
                </div>
                <div class="aui-col-xs-4 padTop2">
                    <div class="firstThree">
                        <img src="./../../../global/image/def-avatar.png" alt="">
                        <div class="nickName"></div>
                        <div><label class="icon"></label><span></span></div>
                        <div class="crown crown2"></div>
                    </div>
                </div>
            </div>
        </div>

    </div>
    <div id="allRanking"></div>

</body>

<script id="tpl-first-three" type="text/x-dot-template">
<div class="aui-content top30 margin_b" id="test">
    <div class="aui-row">
    {{~it :v:i}}
        <div class="aui-col-xs-4 padTop2" tapmode onclick="views.openUCenterWin({{=v.uid}}, &quot;{{=escapeStr(decodeEmoji(v.author))}}&quot;);">
            <div class="firstThree">
                <img src="{{=v.avatar}}" alt="">
                <div class="nickName aui-ellipsis-1">{{=decodeEmoji(v.author)}}</div>
                <div><label class="icon{{=v.check}}"></label><span>{{=v.score}}</span></div>
                <div class="crown crown{{=i}}"></div>
            </div>
        </div>
    {{~}}
    </div>
</div>
</script>
<!-- <div>
    上传进度：<p id="progress"></p>
</div>
<p id="backurl"></p> -->

<script id="tpl-all-ranking" type="text/x-dot-template">
<div class="aui-content">
{{~it :v:i}}
    <div class="aui-row padding15 border_b" tapmode onclick="views.openUCenterWin({{=v.uid}}, &quot;{{=escapeStr(decodeEmoji(v.author))}}&quot;);">
        <div class="aui-col-xs-9">
            <div class="crown_num">{{=v.rank}}</div>
            <img class="img" src="{{=v.avatar}}">
            <div class="crown_name">{{=shortNick(decodeEmoji(v.author), 7)}}</div>
        </div>
        <div class="right-frame aui-col-xs-3">
            <div class="aui-right">
                <div class="good{{=v.check}}"></div>
                <div>{{=v.score}}</div>
            </div>
        </div>
    </div>
{{~}}
</div>
</script>

<script id="tpl-photo-thumb" type="text/x-dot-template">

</script>

<script type="text/javascript" src="../../../config.js"></script>
<script type="text/javascript" src="../../../global/script/lib/api.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myRongIM.js"></script>
<script type="text/javascript" src="../../../global/script/lib/doT.min.js"></script>
<script type="text/javascript" src="../../../global/script/lib/aui-toast.js"></script>
<script type="text/javascript" src="../../../global/script/lib/swiper.min.js"></script>
<script type="text/javascript" src="../../../global/script/lib/zepto.min.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myCompact.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myMediaScanner.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myPic.js"></script>
<script type="text/javascript" src="../../../global/script/mylib.js"></script>
<script type="text/javascript" src="../../../app.js"></script>
<script type="text/javascript" src="./frm.js"></script>

</html>

<script type="text/javascript" src="../../../global/script/_fakeApi.js"></script>
<script>
window.mockRank = {
	"time": 1517285120,
	"usercomment": [{
		"date": "2018-01-30",
		"uid": 4209,
		"score": 34,
		"rank": 1,
		"ranktype": "usercomment",
		"author": "\u738b\u6d0b",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 25602,
		"score": 31,
		"rank": 2,
		"ranktype": "usercomment",
		"author": "\u897f\u4f2f\u5229\u4e9a\u72fc",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_6_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 5029,
		"score": 10,
		"rank": 3,
		"ranktype": "usercomment",
		"author": "\u738b\u8005\u519c\u836f",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 21915,
		"score": 8,
		"rank": 4,
		"ranktype": "usercomment",
		"author": "\u738b\u7acb\u6d9b",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_3_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 16941,
		"score": 8,
		"rank": 4,
		"ranktype": "usercomment",
		"author": "\u81ea\u7531\u7684\u9c7c",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 14240,
		"score": 8,
		"rank": 4,
		"ranktype": "usercomment",
		"author": "\u4efb\u4e18\u8f66\u8d37",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 20514,
		"score": 8,
		"rank": 4,
		"ranktype": "usercomment",
		"author": "george603",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_6_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 31270,
		"score": 8,
		"rank": 4,
		"ranktype": "usercomment",
		"author": "\u56ed\u5b50\u91cc\u7684\u4e00\u9897\u83dc",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_10_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 11131,
		"score": 7,
		"rank": 5,
		"ranktype": "usercomment",
		"author": "\u91d1\u5a01",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 23177,
		"score": 5,
		"rank": 6,
		"ranktype": "usercomment",
		"author": "\u5e05\u5c0f\u9c7c",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/31\/77_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 27678,
		"score": 5,
		"rank": 6,
		"ranktype": "usercomment",
		"author": "\u5019\u9e1f_v",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/76\/78_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 30676,
		"score": 5,
		"rank": 6,
		"ranktype": "usercomment",
		"author": "nana77",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_4_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 29051,
		"score": 5,
		"rank": 6,
		"ranktype": "usercomment",
		"author": "\u5728\u5929\u8fb9\u7b49",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_11_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 29477,
		"score": 5,
		"rank": 6,
		"ranktype": "usercomment",
		"author": "\u5c0f\u6770\u54e5",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_5_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 7273,
		"score": 5,
		"rank": 6,
		"ranktype": "usercomment",
		"author": "\u90dd\u6c0f\u5bb6\u65cf",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 22975,
		"score": 5,
		"rank": 6,
		"ranktype": "usercomment",
		"author": "\u4e1c\u5174\u8f66\u884c",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/29\/75_avatar_2.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 30076,
		"score": 5,
		"rank": 6,
		"ranktype": "usercomment",
		"author": "\u4f60\u7684\u516d\u6708",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/03\/00\/76_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120"
	}],
	"userrecommond": [{
		"date": "2018-01-30",
		"uid": 23026,
		"score": 4,
		"rank": 1,
		"ranktype": "userrecommond",
		"author": "-_-||",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/30\/26_avatar_2.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 22975,
		"score": 3,
		"rank": 2,
		"ranktype": "userrecommond",
		"author": "\u4e1c\u5174\u8f66\u884c",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/29\/75_avatar_2.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 14240,
		"score": 3,
		"rank": 2,
		"ranktype": "userrecommond",
		"author": "\u4efb\u4e18\u8f66\u8d37",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 29388,
		"score": 3,
		"rank": 2,
		"ranktype": "userrecommond",
		"author": "\u4eba\u751f\u5fb7\u4e49",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/93\/88_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 26857,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u6052\u661f",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/68\/57_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 5366,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u987e\u5148\u751f",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 31292,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u6930\u6811\u8fb9\u7684\u6d77\u6fb3\u6d32",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/03\/12\/92_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 29077,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u9ad8\u6676",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_1_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 16941,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u81ea\u7531\u7684\u9c7c",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 31022,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u795e\u738b",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_2_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 30364,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u4f53\u5185\u94dd",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_4_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 26548,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u6211\u8981\u4ece\u5934\u518d\u6765",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/65\/48_avatar_2.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 20144,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u5218\u57f9",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/avatar\/avatar_8_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 11186,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u7231\u8c01",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}, {
		"date": "2018-01-30",
		"uid": 21646,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u6768\u6f9c",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/02\/16\/46_avatar_1.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 17955,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u98ce\u821e\u6b8b\u53f6",
		"avatar": "http:\/\/ouvvqxgwo.bkt.clouddn.com\/qiniu_avatar\/app1\/000\/01\/79\/55_avatar_5.jpg?imageView2\/2\/w\/120\/h\/120"
	}, {
		"date": "2018-01-30",
		"uid": 2278,
		"score": 2,
		"rank": 3,
		"ranktype": "userrecommond",
		"author": "\u4e0d\u4e8c",
		"avatar": "http:\/\/www.ikongji.com\/uc_server\/images\/noavatar_middle.gif"
	}],
	"rules": "<p>1.\u6bcf5\u5206\u949f\u81ea\u52a8\u66f4\u65b0\u5f53\u5929\u7684\u699c\u5355<\/p>\n<p>2.\u70b9\u8d5e\u699c\u5355\u4e3a\u9001\u51fa\u8d5e\u6700\u591a\u7684\u7528\u6237\u7684\u6392\u540d<\/p>\n<p>3.\u8bc4\u8bba\u699c\u5355\u4e3a\u9001\u51fa\u8bc4\u8bba\u6700\u591a\u7684\u7528\u6237\u7684\u6392\u540d<\/p>\n<p>4.\u70b9\u8d5e\u699c\u5355\u524d\u5341\u540d\u5c06\u6536\u5230\u91d1\u5e01\u5956\u52b1<\/p>\n<p>5.\u8fdd\u89c4\u5237\u699c\u5c06\u4f1a\u88ab\u5254\u9664\u699c\u5355\uff0c\u5e76\u8fdb\u884c\u6263\u9664\u91d1\u5e01\u5904\u7f5a<\/p>"
}

fooRank();
</script>
